 $(function(){
    var productid = location.search.substr(11) ;
    // console.log(productid);
    
    $.get("http://193.112.55.79:9090/api/getproduct", '?productid='+productid,
        function (res) {
        //    console.log(res.result);
           var htmlStr = template('commonTmp',res);
        //    console.log(htmlStr);
        $('.list').html(htmlStr);
        },
        "json"
    );

    $.get("http://193.112.55.79:9090/api/getproductcom", '?productid='+productid,
    function (res) {
    //    console.log(res.result);
       var htmlStr = template('pingLunTmp',res);
    //    console.log(htmlStr);
    $('.pingjiacontent').html(htmlStr);
    },
    "json"
);






 })